package day02;

public class HomeWork {
    public static void main(String[] args) {
//        1.变量的练习
        int a;
        int b,c,d;
        int e = 1;
        int f;
        f = 1;
        int g = 10;
        int h = g+10;
        System.out.println(h);
        g = g + 10;
        int hello;
//        int 2323;


//        2.基本数据类型练习 int
        int aa = 10;
        int bb = 10;
        System.out.println(aa/bb);
        int cc = 1000000000;
        int dd = 1000000000;
        System.out.println(cc*dd);



//        3.基本数据类型练习 long
        long aaa = 100000L;
        long bbb = 121212L;
        long ccc = 121212121*1121212*10L;
        long ddd = 111111*11111*111L;
        long eee = 100000L*123123*12312;


//        4.基本数据类型练习double
        double aaaa = 3.21544;
        float bbbb = 2313213F;

        double cccc = 2.6123,dddd = 4.5;
        System.out.println(cccc-dddd);


//        5.基础数据类型练习 Boolean
        boolean aaaaa = true;
        boolean bbbbb = false;


//        6.基础数据类型的练习 char
        char a1 = '男';
        char a2 = 'f';
        char a3 = '1';
        char a4 = 'A';
        char a5 = '\\';
        char a6 = ' ';


//        7.基本数据类型的转换；两种方式
        int b1 = 1;
        double b2 = 1.5574;
        long b3 = 454545454L;

        long b4 = b1;
        int b5 = (int)b3;
        double b6 = b1;
        double b7 = b3;
        long b8 = (long)b2;

//        8.基本数据类型的转换；两点规则
        byte c1 = 12,c2 = 15;
        byte c3 = (byte) (c1 + c2);




    }
}
